﻿<UserControl x:Class="MySettlers.View.Components.editor.EditorEditGameUC"
    xmlns:my="clr-namespace:SilverlightClientEngine.View.Components;assembly=SilverlightClientEngine"  
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
            <Grid Name="worldEditorContainer"></Grid>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                    <ColumnDefinition Width="*"></ColumnDefinition>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Grid x:Name="mapEditorMenuContainer" Grid.Column="0"></Grid>
                <Grid Grid.Column="1">
                    <Grid x:Name="worldContainer"></Grid>
                    <my:MapNavigator x:Name="MapNavigator" HorizontalAlignment="Left" VerticalAlignment="Bottom" Canvas.ZIndex="1"/>
                    <my:MapZoom x:Name="MapZoom" Canvas.ZIndex="1" HorizontalAlignment="Right"/>
                </Grid>                
                <Grid x:Name="thingEditorMenuContainer" Grid.Column="2"></Grid>
            </Grid>
        </StackPanel>
        <StackPanel Grid.Row="1">
            <Button Name="SaveButton" Click="Button_Click">Save</Button>
            <Button Name="ExitButton" Click="Button_Click">Exit</Button>
        </StackPanel>
    </Grid>
</UserControl>
